*{
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    user-select:none;
}

#webConsole{
    display:none;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 100;
}

#webConsole textarea{
    width:100%;
    height:100%;
    background-color:#333;
    color:#eee;
}

#viewMain{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.view-loading{
    background-color: #eee;
    padding: 0 5px;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
}
.loading-img-container{
    position: relative;
    border: 1px solid #eee;
    padding: 5px;
    background-color: #FFF;
    min-height: 200px;
    height: 100%;
}
.view-loading-img {
    margin-top: 100px;
    border: 0;
}
.view-loading-retry{
    margin-top: 112px;
    display:none;
}
.loading-retry-text {
    line-height: 28px;
}
.loading-retry-button {
    border: solid 1px #999;
    border-radius: 5px;
    width: 80px;
    padding: 5px;
    margin:30px auto;
}

.img-loading{
    position: absolute;
    left: 50%;
    margin: 100px 0 0 -28px;
    border:0;
}
.img-loading-retry-button {
    border: solid 1px #999;
    border-radius: 5px;
    width: 80px;
    padding: 5px;
    margin:112px auto;
    display:none;
}

.footer {
    display:none;
    width: 100%;
    height: 60px;
    background-color: #f5f5f5;
    text-align:center;
    padding-top:20px;
}

.doc-loading{
    display:none;
    z-index:10;
    position:absolute;
    left:50%;
    margin-left:-28px;
}

.container {
    width: auto;
    max-width: 680px;
    padding: 0 5px;
}
.img-content{
    width:100%;
    border:0;
    margin-top:30px;
}


#viewBody{
    min-height:340px;
    background-color:#eee;
    max-width: 100%;  
    width: 98%\9;
    display:none;
}
.img-container{
    text-align:center;
    position:relative;
    margin-bottom:18px;
    border:1px solid #eee;
    padding:5px;
    background-color:#FFF;
    min-height:200px;
}
.page-indicator{
    color:#FFFFFF;
    font-size:12px;
    font-weight: bold;
    min-width:20px;
    padding:5px;
    background-color:#DDD;
    z-index:10;   
    position:absolute;
    right:5px;    
}

.page-hd{
    color:#FFF;
    font-size:12px;
    font-weight: bold;
    min-width:20px;
    padding:5px;
    background-color:#DDD;
    z-index:10;
    position:absolute; 
    width:40px;
    height:28px; 
}

.page-hd-active{
    color:#FFF;
    font-size:12px;
    font-weight: bold;
    min-width:20px;
    padding:5px;
    background-color:#0D64BD;
    z-index:10;   
    position:absolute; 
    width:40px;
    height:28px; 
}
.hd_mask{
    filter:alpha(Opacity=80);
    -moz-opacity:0.8;
    opacity:0.8;
    background-color:#fff; 
    margin:-5px;
    height:100%;
    width:100%;
    z-index:102;
    position:absolute;
}

.page-progress{    
    margin-top:0px;
    height:3px;
    width:100%;
    z-index:1001;   
    position:fixed;
    left:0;
    top:0;
}

.page-progress-val{
    background-color:#0D64BD;
    height:3px;
}

.page-selector{    
    color:#428BC5;
    font-size:18px;
    font-weight: bold;
    width:20%;   
    margin-bottom:10px;
    padding-left:5px;
    background-color:#FFFFFF;   
    display:inline-block; 
    
}
.selector-container{
    top:50%;
    left:50%;    
    width:100%;      
}

.excel-error{    
    font-size: 14px;
    padding: 10px;
    border-radius: 5px;
    background-color: #F3672E;
    color: #fff;
    margin: 20px;
    display:none;   
    text-align:center;
    font-weight:bold;
}
.active-sheet{
    background: #A2B9D8;
}
.active-sheet a{
    color:#fff;
}

.img-noborder-body{    
    padding-left: 0px;
    padding-right: 0px;
}
.img-noborder-body .img-container{    
    margin: 0px;
    border: 0;
    padding: 0;
}
.img-noborder-body .img-container .page-hd,.img-noborder-body .img-container .page-indicator{
    display:none;
}
.img-noborder-body .img-container .img-content{    
    margin-top: 0px;
}
.scroll-wrapper {   
    -webkit-overflow-scrolling: touch;   
    overflow: auto;
}
#excel-error{
    color:#F3672E;
}

.fullscreenframe{
    border:0; 
    width:100%;
    height:100%;
}